Skip to content

Conversation

@prschulz
Copy link
Contributor

Got some code for us? Awesome 🎊!

Please take a minute to explain the change you're making:

  • Why are you making it?
    Complimentary subscribers are currently unable to view offers in Ghost Portal because they are incorrectly classified, preventing them from accessing discounted upgrade paths. This blocks a key use case where site owners want to convert complimentary members to paid subscribers via special offers.
  • What does it do?
    This PR modifies the handleOfferQuery method in apps/portal/src/app.js to explicitly allow both free and complimentary members to view offers. Previously, only strictly "non-paid" members could see offers, excluding complimentary members who are technically member.paid === true.
  • Why is this something Ghost users or developers need?
    This enables Ghost users (site owners) to effectively utilize offers to convert complimentary subscribers into paying members at a discounted rate. It provides a flexible way to engage complimentary audiences and drive revenue, aligning with the existing "Change plans" functionality but with the added benefit of offer-based discounts.

Please check your PR against these items:

  • I've read and followed the Contributor Guide
  • I've explained my change
  • I've written an automated test to prove my change works

We appreciate your contribution! 🙏


Linear Issue: ONC-1343

Open in Cursor Open in Web

@cursor
Copy link

cursor bot commented Dec 18, 2025

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 18, 2025

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cursor/ONC-1343-complimentary-offer-access-e7a4

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sagzy
Copy link
Contributor

sagzy commented Jan 20, 2026

Closing as duplicate of #25889

@sagzy sagzy closed this Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants